package com.wjx.demo.`class`

data class C(val a: Int, val b: String)

fun getC(a: Int, b: String): C {
    return C(a, b)
}

fun main(args: Array<String>) {
    var a: Int
    var b: String
    var c = C(1, "a")
    val map = HashMap<String, Int>()
    map.put("1", 1)
    map.put("2", 2)
    for ((k, v) in map) {
        println("key:$k,value:$v")
    }
}